package router

import (
	"chat/service"
	"github.com/gin-gonic/gin"
	"gorm.io/gorm"
)

func CreateWSRouter(group *gin.RouterGroup, db *gorm.DB) {
	var ws service.WsStruct
	ws.GetRoomList(db)
	//var auth utils.Claims
	group.GET("/w", func(context *gin.Context) {
		ws.Ws(context, db)
	})
}
